kconfig: don't select VPCI if building a shim-only binary
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 27 Mar 2018 15:30:26 +0000 (16:30 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 28 Mar 2018 12:54:46 +0000 (13:54 +0100)
commit7fbb096bf345a4a441d595ee2efa032517e05c08
treef39f4f488e22b94a46c17526c5089c9560c2b9c4
parentfb5ab45739c6b3e410bd51d04b1e6d7b032ea1b2
kconfig: don't select VPCI if building a shim-only binary

Add dummy replacements for some functions used outside of the vpci
code, and also a guard in vmsi.c to prevent vpci arch specific helpers
from being compiled if the option is not selected.

Reported-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Kconfig
xen/arch/x86/hvm/vmsi.c
xen/include/xen/vpci.h